package com.akl.ssmspringboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @ClassName:
 * @Author: Guoxy
 * @Date: Created in 16:05 2018/11/19
 * @Version:1.0
 */
@Controller
public class IndexController {

    /********************************************************/
    /**
     * 局部刷新页面技术
     */
    @RequestMapping("/index")
    public ModelAndView index(){
        ModelAndView mv = new ModelAndView("index");
        return mv;
    }
    @RequestMapping("/index_child_one")
    public ModelAndView indexChild1(){
        ModelAndView mv = new ModelAndView("index_child_one");
        return mv;
    }
    @RequestMapping("/index_child_tow")
    public ModelAndView indexChild2(){
        ModelAndView mv = new ModelAndView("index_child_tow");
        return mv;
    }
    /********************************************************/


    @RequestMapping("/echarts/demo01")
    public ModelAndView echarts01(){
        ModelAndView mv = new ModelAndView("echarts/demo01");
        return mv;
    }
}
